package com.lyun.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lyun.pojo.LoveValue;

public interface LoveValueService extends IService<LoveValue> {

    boolean insertValue(LoveValue loveValue);

    LoveValue selectValueByFromIdAndToId(Long fromId, Long toId);

    /**
     * 查询 fromId 和 toId 的心动值
     * @param fromId
     * @param toId
     * @return
     */
    Integer selectFateValueByFromIdAndToId(Long fromId, Long toId);

}
